home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
medit_.zip
/
MEDIT.DOC
< prev
next >
Wrap
Text File
|
1993-04-24
|
2KB
|
62 lines
MEDIT!.DOC
Congradulations on recieving this software. Medit! will allow you to edit &
create custom mouse cursors for 640x480 graphics mode and 320x200 graphics
mode.
The program is easy enough to get used to. Press (H)elp in the options
menu to recieve full instructions to the program.
MEDIT! creates a file that you can easily import into any C compiler.
To use medited mouse cursors, you must include the following lines of text
in your program:
void setmousecursor(int hotspotx, int hotspoty, void far *mbufp);
typedef union
{
struct {unsigned char Cursor_mask[32], Screen_mask[32];} m;
unsigned char Mouse_mask[64];
} MOUSE;
MOUSE mycursor = {#,#,#...}; /* this is the text file created by MEDIT! */
and include medit.obj in your project or program list.
A simple call to setmousecursor() will change the mouse cursor shape
to the defined cursor. An example of this call is:
setmousecursor(0,0,&mycursor); /* Set the cursor shape to my cursor */
The arguments hotspotx and hotspoty define where the cursor hot spot will
be. values of 0-15 are acceptable for each argument and are counted from
the upper left corner of the cursor. For example: 0,0 would be the upper-
left corner of the cursor and: 15,15 would be the bottom right corner.
If you are new to mouse programming, I've included a function called:
mouse() in with MEDIT.obj. This will allow you to initialize the mouse
and perform all the mouse functions available. If you use this function,
include the following prototype in your code:
void mouse(int ax, int bx, int cx, int dx);
extern int Max, Mbx, Mcx, Mdx;
And read MOUSE.DOC for a detailed explanation of the mouse driver functions.
If you are interested in the future releases of MEDIT! and/or any graphics
routines shown in any of my demo's... I can be reached on STRUCTURES BBS
(416) 778-4193 Programmers Bulletin Board System in the C Programming
Conference.
A registration fee of $5.00 will get you all the source code for MEDIT!
as well as source code for my 320x200 256 colors graphics library. Plus!
You'll get free updates and helpful info anytime. Send check / money order
to the following address:
ROBERT BROWER
411 WINFIELD TERRACE
MISSISSAUGA, ONTARIO
L5R-1N9 CANADA
* INCLUDE EXTRA $$$ FOR SHIPPING *